package com.elvin.zoe.template;


public class HtmlTemplateResources {

    public static String baseDir = "/";

    public static final String resourceLinks =
        "<link rel='stylesheet' type='text/css' href='"+baseDir+"css/global.css'/>        \n ".trim() +
        "<link rel='stylesheet' type='text/css' href='"+baseDir+"css/conversation.css'/>  \n ".trim() +
        "<script type='text/javascript' src='/js/googletrack.js'></script>                \n ".trim() +
        "<script type='text/javascript' src='"+baseDir+"js/jquery-1.5.min.js'></script>   \n ".trim() +
//      "<script type='text/javascript' src='js/jquery.corner.js'></script>    \n ".trim() +
        "<script type='text/javascript' src='"+baseDir+"js/onload.js'></script>           \n ".trim() +
        "";

    public static final String head =
        "   <head> ".trim() +
        "       <title>E & Z</title> ".trim() +
        "       <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> ".trim() +
        "   </head> ".trim() +
        "";

    public static final String messageTemplate =
        "           <table border=0 width=1000 align='center' class='messageTable'> ".trim() +
        "              <tr> ".trim() +
        "                <td colspan=5 class='messageDatetime'> ".trim() +
        "                   [MESSAGE.DATETIME] ".trim() +
        "                </td> ".trim() +
        "              </tr> ".trim() +
        "              <tr> ".trim() +
        "                <td width=100 class='messageNumber'> ".trim() +
        "                    [MESSAGE.NUMBER] ".trim() +
        "                </td> ".trim() +
        "                <td width='50px' class='authorName [AUTHOR_NAME_STYLE_CLASS_LEFT]'> ".trim() +
        "                   [MESSAGE.AUTHOR.NAME.LEFT] ".trim() +
        "                </td> ".trim() +
        "                <td> ".trim() +
        "                   <div class='messageText [MESSAGE_TEXT_STYLE_CLASS]'>  ".trim() +
        "                       [MESSAGE.TEXT] ".trim() +
        "                       [MESSAGE.IMAGE] ".trim() +
        "                   </div>  ".trim() +
        "                </td> ".trim() +
        "                <td width='50px' class='authorName [AUTHOR_NAME_STYLE_CLASS_RIGHT]'> ".trim() +
        "                   [MESSAGE.AUTHOR.NAME.RIGHT] ".trim() +
        "                </td> ".trim() +
        "                <td width=100> ".trim() +
        "                      ".trim() +
        "                </td> ".trim() +
        "              </tr> ".trim() +
        "           </table> ".trim() +
        "";

    public static final String messageImageTemplate =
        "   <br clear=all><div style='width:50%;border-top:2px #AAAAAA solid; height:4px'></div> ".trim() +
        "   <a href='"+baseDir+"img/mms/orig/[MESSAGE.IMAGE.NAME]' target='_blank'> ".trim() +
        "       <img src='"+baseDir+"img/mms/[MESSAGE.IMAGE.NAME]'> ".trim() +
        "   </a> ".trim() +
        "";

    public static final String messageTimeSpan =
        "   <div align='center'>  ".trim() +
        "       <div class='messageTimeSpan'>[MESSAGE.TIME.SPAN]</div> ".trim() +
        "   </div>  ".trim() +
        "";

    public static final String groupTemplate =
        "   <div> ".trim() +
        "       <table border=0 width=100% class='groupHead collapsible' onClick=\"_gaq.push(['_setCustomVar', '1', 'Viewed Title', '[GROUP.HEAD.DATE]', '3']); _gaq.push(['_trackEvent', '[GROUP.HEAD.DATE]', 'Expended']);\"> ".trim() +
        "           <tr> ".trim() +
        "               <td width=180><span style='width:180px;padding-left:1em;'>[GROUP.HEAD.DATE]</span></td> ".trim() +
        "               <td width=80><span style='width:50px;'>[GROUP.HEAD.COUNT]</span></td> ".trim() +
        "               <td><span style='width:700px; overflow:hidden'>[GROUP.HEAD.PEEK]</span></td> ".trim() +
        "               <td width=150><span style='padding-right:1em; float:right'>[GROUP.HEAD.TIME]</span></td> ".trim() +
        "           </tr> ".trim() +
        "       </table> ".trim() +
        "   </div> ".trim() +
        "   <div class='overlayer' style='display:none;'> ".trim() +
        "       [GROUP.BLOCK] ".trim() +
        "   </div> ".trim() +
        "";

    public static final String headGroupTemplate =
        "   <div> ".trim() +
        "       <table border=0 width=100% class='groupHead collapsible'  onClick=\"_gaq.push(['_setCustomVar', '1', 'Viewed Title', '[GROUP.HEAD.DATE]', '3']); _gaq.push(['_trackEvent', '[GROUP.HEAD.DATE]', 'Expended']);\"> ".trim() +
        "           <tr> ".trim() +
        "               <td style='padding-left:1em;'> ".trim() +
        "                   [MESSAGE.COUNTS]".trim() +
        "               </td> ".trim() +
        "               <td> ".trim() +
        "                   <span style='padding-right:1em; float:right'>every single day... every word you say...</span> ".trim() +
        "               </td> ".trim() +
        "           </tr> ".trim() +
        "       </table> ".trim() +
        "   </div> ".trim() +
        "   <div class='overlayer' style='display:none;'> ".trim() +
        "       [MESSAGE.CHART] ".trim() +
        "   </div> ".trim() +
        "";

    public static final String footGroupTemplate =
        "   <div> ".trim() +
        "       <table border=0 width=100% class='groupHead' style='cursor:default'> ".trim() +
        "           <tr> ".trim() +
        "               <td style='padding-left:1em;'> ".trim() +
        "                   <span><a href='http://www.google.com/chrome/eula.html?hl=zh-CN&standalone=1' target='_blank'>Use Chrome</a></span> ".trim() +
        "               </td> ".trim() +
        "           </tr> ".trim() +
        "       </table> ".trim() +
        "   </div> ".trim() +
        "";

    public static final String messageCountTemplate =
        "   <span ><font face='Wingdings'>&#43</font> [SMS.COUNT]</span> ".trim() +
        "   <span style='padding-left:5px;'><font face='Wingdings'>&#40</font> [CALL.COUNT]</span> ".trim() +
        "   <span style='padding-left:5px;'><font face='Webdings'>&#94</font> [MSN.COUNT]</span> ".trim() +
        "";

    public static final String chart=
        "  <img src='http://chart.apis.google.com/chart?chxtc=0,3&chxt=x,y&chs=800x200&cht=lxy&chco=3072F3,FF0000,FF9900&chdl=SMS|Call|IM&chdlp=b&chls=2,4,1|1|1&chma=5,5,5,25&chxr=[AXIS.RANGE]&chds=[DATA.SCALE]&chd=t:[DATA.VALUE]&&chm=[DATA.MARKER]'>"+
        "";





}


